package com.stary.code.springboot.config.mq;
/**
 * <p>ActiveMQ配置类</p>
 * @author stary
 * @since 2018年11月1日
 */
public class ActiveMQConfig {
	/**
	 * ActiveMQ broker的URL
	 */
	private String url="tcp://localhost:61616";
	/**
	 * 指定broker的用户
	 */
	private String user;
	/**
	 * 指定broker的密码
	 */
	private String password;
	/**
	 * 是否是内存模式，默认为true
	 */
	private boolean inMemory=true;
	/**
	 * 是否创建PooledConnectionFactory，而非ConnectionFactory，默认false
	 */
	private boolean poolEnabled=false;
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getUser() {
		return user;
	}
	public void setUser(String user) {
		this.user = user;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public boolean isInMemory() {
		return inMemory;
	}
	public void setInMemory(boolean inMemory) {
		this.inMemory = inMemory;
	}
	public boolean isPoolEnabled() {
		return poolEnabled;
	}
	public void setPoolEnabled(boolean poolEnabled) {
		this.poolEnabled = poolEnabled;
	}
	
	
	
	
	
}
